package com.example.admin.mapper;


import com.example.admin.entity.ElderBedInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ElderBedMapper {

    public List<ElderBedInfo> selectElderBedInfoPage();

    int deleteElderBedById(@Param("id") Integer id);

    int addElderBeb(@Param("elderBedInfo") ElderBedInfo elderBedInfo);

    int editeElderBed(@Param("elderBedInfo") ElderBedInfo elderBedInfo);

    List<ElderBedInfo> selectElderBedById(@Param("elderId") Integer elderId);
}
